package com.qf.entitys;

import java.math.BigDecimal;

public class Coupon {
    private Integer couponId;

    private String couponName;

    private Boolean isFullDecrement;

    private BigDecimal fullPrice;

    private BigDecimal reductionPrice;

    private Boolean isdiscount;

    private BigDecimal discount;

    private Integer bid;

    private Integer status;

    public Boolean getFullDecrement() {
        return isFullDecrement;
    }

    public void setFullDecrement(Boolean fullDecrement) {
        isFullDecrement = fullDecrement;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName == null ? null : couponName.trim();
    }

    public Boolean getIsFullDecrement() {
        return isFullDecrement;
    }

    public void setIsFullDecrement(Boolean isFullDecrement) {
        this.isFullDecrement = isFullDecrement;
    }

    public BigDecimal getFullPrice() {
        return fullPrice;
    }

    public void setFullPrice(BigDecimal fullPrice) {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getReductionPrice() {
        return reductionPrice;
    }

    public void setReductionPrice(BigDecimal reductionPrice) {
        this.reductionPrice = reductionPrice;
    }

    public Boolean getIsdiscount() {
        return isdiscount;
    }

    public void setIsdiscount(Boolean isdiscount) {
        this.isdiscount = isdiscount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    @Override
    public String toString() {
        return "Coupon{" +
                "couponId=" + couponId +
                ", couponName='" + couponName + '\'' +
                ", isFullDecrement=" + isFullDecrement +
                ", fullPrice=" + fullPrice +
                ", reductionPrice=" + reductionPrice +
                ", isdiscount=" + isdiscount +
                ", discount=" + discount +
                ", bid=" + bid +
                ", status=" + status +
                '}';
    }
}